package cn.edu.cug.cs.gtl.docsrv.shp.controller;

import cn.edu.cug.cs.gtl.mybatis.mapper.shp.ShpAll;

import java.util.List;
import java.util.Objects;

public class ShpAllList {
    @Override
    public String toString() {
        return "ShpAllList{" +
                "shpAllList=" + shpAllList +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof ShpAllList)) return false;
        ShpAllList that = (ShpAllList) o;
        return Objects.equals(getShpAllList(), that.getShpAllList());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getShpAllList());
    }

    private List<ShpAll> shpAllList;

    public List<ShpAll> getShpAllList() {
        return shpAllList;
    }

    public void setShpAllList(List<ShpAll> shpAllList) {
        this.shpAllList = shpAllList;
    }
}
